ScssPhp\ScssPhp\Parser D

Total Complexity 696
Dependencies 6
Dependents 1
Total lines 3,379
Lines of code 2,004
Logical lines of code 1,293
Comment lines 593
Methods 66
Properties 21

Methods 66

Method Rating Maintainability Complexity Lines of code
parseChunk()
D
0
195 459
selectorSingle()
D
23
62 152
value()
D
28
44 123
supportsQuery()
C
34 29 94
string()
B
39 21 66
openString()
B
42 21 48
directiveValue()
A
48 16 35
enclosedExpression()
A
47 15 36
expHelper()
A
48 15 29
mediaQuery()
A
47 14 33
expression()
A
46 12 41
func()
A
49 12 29
selector()
A
49 11 31
whitespace()
A
44 10 44
interpolation()
A
49 10 30
parse()
A
44 9 44
appendComment()
A
53 10 21
propertyName()
A
49 9 33
argumentDef()
A
48 8 35
genericList()
A
51 8 28
map()
A
53 8 23
customProperty()
A
49 7 32
mediaExpression()
A
57 8 17
mixedKeyword()
S
53 7 25
argumentList()
S
52 7 24
__construct()
S
51 7 24
pushBlock()
S
51 5 29
matchString()
S
53 5 22
parenValue()
S
56 5 19
selectors()
S
56 5 19
argValue()
S
56 5 19
progid()
S
57 5 17
stripAssignmentFlags()
S
58 5 14
matchChar()
S
61 5 13
unit()
S
60 5 12
getSourcePosition()
S
57 4 17
append()
S
58 4 16
popBlock()
S
59 4 15
placeholder()
S
60 4 15
match()
S
59 4 14
variable()
S
60 4 13
literal()
S
60 4 13
end()
S
65 4 9
restrictedKeyword()
S
65 4 8
keyword()
S
61 3 13
color()
S
61 3 12
extractLineNumbers()
S
61 3 12
throwParseError()
S
60 3 12
flattenList()
S
69 3 6
restoreEncoding()
S
73 3 5
stripOptionalFlag()
S
63 2 10
url()
S
67 2 7
saveEncoding()
S
71 2 6
last()
S
70 2 6
argValues()
S
68 2 7
peek()
S
66 2 8
parseValue()
S
63 1 11
parseMediaQueryList()
S
63 1 11
parseSelector()
S
63 1 11
valueList()
S
68 1 7
pushSpecialBlock()
S
73 1 5
seek()
S
81 1 3
pregQuote()
S
79 1 3
spaceList()
S
79 1 3
mediaQueryList()
S
78 1 3
getSourceName()
S
82 1 3